<template>
  <center-render :data="data">
    <template v-if="Array.isArray(data.children)">
      <center-render v-for="item in data.children" :key="item.id" class="dc-draggable-handler" :data="item" />
    </template>
  </center-render>
</template>
<script setup name="CenterItem">
import CenterRender from './center-render.jsx'

const props = defineProps({
  data: {
    type: Object,
    default: null
  }
})
</script>
